package com.song.tree;

public class AVLTree<T extends Comparable> {
    private AVLTree<T> leftTree ;
    private AVLTree<T> rightTree ;
    private T data ;
    private int hight ;

    public AVLTree(T data){
        this(null,null,data);
    }
    public AVLTree(AVLTree leftTree , AVLTree rightTree , T data ){
        this(leftTree , rightTree ,data , 0);
    }

    public AVLTree(AVLTree leftTree , AVLTree rightTree , T data ,int hight){
      this.leftTree = leftTree ;
      this.rightTree = rightTree ;
      this.data = data ;
      this.hight = hight ;
    }





}
